package com.example.yiwei.crm.view.activity.coordinationActivity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.yiwei.crm.R;
import com.example.yiwei.crm.data.GetExchange;
import com.example.yiwei.crm.entity.ExchangeEntity;

public class DetaileJLActivity extends AppCompatActivity {

    private TextView sq_time,bf_time,jiaoliuliang,bf_fs,manger,yijian,cname,ctime;
    private ExchangeEntity exchange;
    private ImageView img_back;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_detaile_jl);
        sq_time = (TextView) findViewById(R.id.jl_sq_time);
        bf_time = (TextView) findViewById(R.id.jl_bf_time);
        jiaoliuliang = (TextView) findViewById(R.id.jl_jiaoliulang);
        bf_fs = (TextView) findViewById(R.id.jl_bf_fs);
        manger = (TextView) findViewById(R.id.jl_manger);
        yijian = (TextView) findViewById(R.id.jl_yijian);
        cname = (TextView) findViewById(R.id.jl_cname);
        ctime = (TextView) findViewById(R.id.jl_ctime);
        img_back = (ImageView) findViewById(R.id.myd_add_img_back);
        exchange = GetExchange.exchangeEntity;
        sq_time.setText(exchange.getSq_time());
        bf_time.setText(exchange.getBf_time());
        bf_fs.setText(exchange.getFs_name());
        jiaoliuliang.setText(exchange.getJiaoliuliang());
        manger.setText(exchange.getManger_name());
        yijian.setText(exchange.getYijian());
        cname.setText(exchange.getCname());
        ctime.setText(exchange.getCtime());
        img_back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}
